<?php /* Smarty version 2.6.18, created on 2012-01-11 08:06:16
         compiled from creative-preferences-table.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 't', 'creative-preferences-table.html', 33, false),)), $this); ?>

    <li class="line">
      <fieldset id="creative-types" class="checkbox-list">
        <legend><?php echo OA_Admin_Template::_function_t(array('str' => 'Creative Type Restrictions'), $this);?>
</legend>
        <ul class="column">
          <?php $_from = $this->_tpl_vars['aCreativeTypes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['type']):
?>
              <li <?php if ($this->_tpl_vars['type']['checked']): ?>class="rejected"<?php endif; ?>><input type="checkbox" name="types[<?php echo $this->_tpl_vars['type']['id']; ?>
]" value="<?php echo $this->_tpl_vars['type']['id']; ?>
" id="type_<?php echo $this->_tpl_vars['type']['id']; ?>
" <?php if ($this->_tpl_vars['type']['checked']): ?>checked<?php endif; ?> /><label for="type_<?php echo $this->_tpl_vars['type']['id']; ?>
"><?php echo OA_Admin_Template::_function_t(array('str' => $this->_tpl_vars['type']['name']), $this);?>
</label></li>
          <?php endforeach; endif; unset($_from); ?>
        </ul>
      </fieldset>

      <fieldset id="creative-attrs" class="checkbox-list">
      <legend><?php echo OA_Admin_Template::_function_t(array('str' => 'Content Attribute Restrictions'), $this);?>
</legend>

      <?php $_from = $this->_tpl_vars['aCreativeAttributes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['attrList']):
?>
        <ul class="column">
          <?php $_from = $this->_tpl_vars['attrList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['attr']):
?>
              <li <?php if ($this->_tpl_vars['attr']['checked']): ?>class="rejected"<?php endif; ?>><input type="checkbox" name="attributes[<?php echo $this->_tpl_vars['attr']['id']; ?>
]" value="<?php echo $this->_tpl_vars['attr']['id']; ?>
" id="attribute_<?php echo $this->_tpl_vars['attr']['id']; ?>
" <?php if ($this->_tpl_vars['attr']['checked']): ?>checked<?php endif; ?>/><label for="attribute_<?php echo $this->_tpl_vars['attr']['id']; ?>
"><?php echo OA_Admin_Template::_function_t(array('str' => $this->_tpl_vars['attr']['name']), $this);?>
</label></li>
          <?php endforeach; endif; unset($_from); ?>
        </ul>
      <?php endforeach; endif; unset($_from); ?>
      </fieldset>
    </li>
    
    <li class="line">
      <fieldset id="ad-categories" class="checkbox-list">
      <legend><?php echo OA_Admin_Template::_function_t(array('str' => 'Ad Category Restrictions'), $this);?>
</legend>

      <?php $_from = $this->_tpl_vars['aAdCategories']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['catList']):
?>
        <ul class="column">
          <?php $_from = $this->_tpl_vars['catList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['cat']):
?>
              <li <?php if ($this->_tpl_vars['cat']['checked']): ?>class="rejected"<?php endif; ?>><input type="checkbox" name="categories[<?php echo $this->_tpl_vars['cat']['id']; ?>
]" value="<?php echo $this->_tpl_vars['cat']['id']; ?>
" id="category_<?php echo $this->_tpl_vars['cat']['id']; ?>
" <?php if ($this->_tpl_vars['cat']['checked']): ?>checked<?php endif; ?>/><label for="category_<?php echo $this->_tpl_vars['cat']['id']; ?>
"><?php echo OA_Admin_Template::_function_t(array('str' => $this->_tpl_vars['cat']['name']), $this);?>
</label></li>
          <?php endforeach; endif; unset($_from); ?>
        </ul>
      <?php endforeach; endif; unset($_from); ?>
      </fieldset>
    </li>
    
